import java.util.Scanner;

public class Test14 {
    public static void main(String[] args) {
        System.out.println("请输入m:");
        System.out.println("请输入n:");
        Scanner scanner=new Scanner(System.in);
        int m=scanner.nextInt();
        int n=scanner.nextInt();
        for(;m>0;m--){
            for(int a=n;a>0;a--){
                System.out.print("*");
            }
        }
        System.out.println();
    }
}
